﻿#ifndef TOON_SHADER_INSTANCING_INCLUDED
#define TOON_SHADER_INSTANCING_INCLUDED

#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"

#define TOON_SHADER_INSTANCING_BUFFER_NAME UnityPerInstance
#define TOON_SHADER_DEFINE_INSTANCED_PROP(prop_type, prop_name) UNITY_DEFINE_INSTANCED_PROP(prop_type, prop_name)
#define TOON_SHADER_ACCESS_INSTANCED_PROP(prop_name) UNITY_ACCESS_INSTANCED_PROP(TOON_SHADER_INSTANCING_BUFFER_NAME, prop_name)
#define TOON_SHADER_INSTANCING_BUFFER_START UNITY_INSTANCING_BUFFER_START(TOON_SHADER_INSTANCING_BUFFER_NAME)
#define TOON_SHADER_INSTANCING_BUFFER_END UNITY_INSTANCING_BUFFER_END(TOON_SHADER_INSTANCING_BUFFER_NAME)

#endif
